package com.bootdo.merchant.serivce;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.bootdo.merchant.domain.AgentDO;
import com.bootdo.merchant.domain.MerchantDO;

/**
 * @Desc
 * @date 2019/11/14
 * ${tags}
 */
@Service
public interface MerchantService {

    MerchantDO get(Long userId);

    List<MerchantDO> list(Map<String, Object> map);

    int count(Map<String, Object> map);

    int save(MerchantDO user);

    int update(MerchantDO user);

    int editStatus(Long id, Integer status);

    int resetToken(Long id);

    List<AgentDO> queryAgentMerchant();
}
